//
//  EoeRefreshHeader.swift
//  Exchange
//
//  Created by rui on 2018/6/13.
//  Copyright © 2018年 common. All rights reserved.
//


import MJRefresh

class EoeRefreshHeader: MJRefreshNormalHeader {

    override func prepare() {
        super.prepare()
        self.stateLabel.textColor = KRefreshColor
        self.stateLabel.font = UIFont.systemFont(ofSize: 14)
        self.lastUpdatedTimeLabel.isHidden = true
        self.setTitle(kText(MJRefreshHeaderIdleText), for: MJRefreshState.idle)
        self.setTitle(kText(MJRefreshHeaderPullingText), for: MJRefreshState.pulling)
        self.setTitle(kText(MJRefreshHeaderRefreshingText), for: MJRefreshState.refreshing)
    }


}
